<?php	
class Obj_Search {

	protected static $t;

	public static function init() {
		self::$t = new Obj_DBTable_Objects();
	}
	
	public static function searchURLParams($ar) {
		return self::$t->searchURLParams($ar);
	}
	
	public static function searchObjects($ar) {
		return self::$t->searchObjects($ar);
	}
	
	public static function setBoxParam($key, $val) {
		$arParams = Zend_Registry::isRegistered('searchBoxParams') ? Zend_Registry::get('searchBoxParams') : array();
		$arParams[$key] = $val;
		Zend_Registry::set('searchBoxParams', $arParams);
	}
	
} Obj_Search::init();

